package com.itheima.user;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@Slf4j//日志
    @SpringBootApplication
    @EnableDiscoveryClient
    @MapperScan("com.heima.model.user.mapper")
    public class userApplication {

            public static void main(String[] args) {
                SpringApplication.run(userApplication.class, args);
                log.info("项目启动成功...");//没有安装lombok插件

            }
    }

